package com.liu.nb.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.liu.nb.entity.Bugtype;
import com.liu.nb.mapper.BugtypeMapper;
import com.liu.nb.service.IBugtypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 缺陷类型表 服务实现类
 * </p>
 *
 * @author liuziyi
 * @since 2021-08-31
 */
@Service
public class BugtypeServiceImpl extends ServiceImpl<BugtypeMapper, Bugtype> implements IBugtypeService {

    @Autowired
    private BugtypeMapper bugtypeMapper;

    @Override
    public List<Bugtype> getBugTypeList() {
        return bugtypeMapper.selectList(new QueryWrapper<>());
    }
}
